package org.yoyo.core;
import java.io.IOException;

import javax.microedition.lcdui.Image;
import javax.microedition.lcdui.game.LayerManager;
import javax.microedition.lcdui.game.TiledLayer;


public class MainLayerManager extends LayerManager{

	public static TiledLayer getTiledLayer(String file
			,int clos,int rows,int dx,int dy) throws IOException{
		
		Image image = Image.createImage(file);
		return new TiledLayer(clos,rows,image,dx,dy);		
	}
}
